package com.ponhu.ea2.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.expression.spel.ast.Operator;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author luyu
 * @create 2021-11-08 18:20
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
public class PhInventoryBaseDto extends OperatorDto {

    @ApiModelProperty(value = "物料id")
    private String materialId;

    @ApiModelProperty(value = "是否二奢 1 是  2 否")
    private Integer isTwoLuxury;

    @ApiModelProperty(value = "成色值")
    private String quality;

    @ApiModelProperty(value = "商品三级分类id")
    private String categoryId;

    @ApiModelProperty(value = "来源 如：1-云商, 2-B端采购 ,3-C端采购")
    private Integer inventoryChannel;

    @ApiModelProperty(value = "来源渠道")
    private String sourceChannel;

    @ApiModelProperty(value = "采购价")
    private BigDecimal purchasePrice;

    @ApiModelProperty(value = "入库方式id")
    private String warehousingMethodId;

    @ApiModelProperty(value = "货主id")
    private String goodsOwnerId;

    @ApiModelProperty(value = "一级采购渠道id")
    private String firstProcurementChannel;

    @ApiModelProperty(value = "二级采购渠道id")
    private String secondProcurementChannel;

    @ApiModelProperty(value = "货品图片(c端和云商传入)")
    private String images;

    @ApiModelProperty(value = "品牌id")
    private String brandId;

    @ApiModelProperty(value = "销售模式(1先采后卖，2先卖后采)")
    private String salesModel;

    @ApiModelProperty(value = "货品编码")
    private String inventoryCode;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsNum = 1;

    @ApiModelProperty(value = "附件和配件,例如:发票,身份卡,防尘袋")
    private String annexs;

    @ApiModelProperty(value = "属性-属性值 包括物料和货品")
    private Map<String,String> propertyMap;

    @ApiModelProperty(value = "语音买点url")
    private String sellingPointAudio;
}
